package com.wmeimob.fastboot.jiubei.service;


import com.wmeimob.fastboot.jiubei.entity.ShopGoodsClassify;
import com.wmeimob.fastboot.core.service.CommonService;

import java.util.List;

/**
 * @ClassName ShopGoodsClassifyService
 * @Description 商城商品分类
 * @author wjt
 * @Date Wed Aug 26 21:50:57 CST 2020
 * @version 1.0
 **/
public interface ShopGoodsClassifyService extends CommonService<ShopGoodsClassify>{

    /**
     * 商城商品分类查询
     * @param id
     * @return
     */
    default ShopGoodsClassify queryShopGoodsClassifyById(Object id){throw new UnsupportedOperationException();};

    /**
     * 商城商品分类添加
     * @param  shopGoodsClassify
     * @return
     */
    default  void addShopGoodsClassify(ShopGoodsClassify shopGoodsClassify){throw new UnsupportedOperationException();};


    /**
     * 商城商品分类删除
     * @param id
     * @return
     */
    default void removeShopGoodsClassify(Object id){throw new UnsupportedOperationException();};


    /**
     * 商城商品分类修改
     * @param shopGoodsClassify
     * @return
     */
    default void modifyShopGoodsClassify(ShopGoodsClassify shopGoodsClassify){throw new UnsupportedOperationException();};

    /**
     * 查询所有，附带二级菜单
     *
     * @param shopGoodsClassify
     * @return
     */
    default List<ShopGoodsClassify> findAll(ShopGoodsClassify shopGoodsClassify){throw new UnsupportedOperationException();}

    /**
     * 查询一级类目
     * @return
     */
    default List<ShopGoodsClassify> selectListByPidFirst(){throw new UnsupportedOperationException();}

    /**
     * 根据一级类目id查二级类目数据
     * @param goodsClassify
     * @return
     */
    default List<ShopGoodsClassify> selectListByPid(ShopGoodsClassify goodsClassify){throw new UnsupportedOperationException();}
}
